package cn.zhuama.basic.mapper;

import cn.zhuama.basic.query.BaseQuery;
import org.springframework.stereotype.Repository;


import java.util.List;
@Repository
public interface BaseMapper<T> {
    List<T> selectAll();
    T selectOne(Long id);
    void updateById(T department);
    void insert(T department);
    void deleteById(Long id);
    List<T> page(BaseQuery baseQuery);
    Long selectTotalCount(BaseQuery baseQuery);
    void patchDel(List<Long> ids);
}
